package com.huaxin.common;

import com.huaxin.common.Entity.BaseDTO;

import java.util.List;

/**
 * @author songxf
 * @date 2018/6/13
 * @Desc $desc$
 * Copyright HUAXIN DATA. All rights reserved.
 */
public class HxAnalysisDTO extends BaseDTO{


    /**
     * data : {"stationNum":[{"data":["0","0","0","0","0"],"name":"上海市","type":"bar"}],"avgTime":[{"data":["0","0","0","0","0"],"name":"上海市","type":"bar"}],"workTaskNum":[{"data":[0,0,0,0,0],"name":"上海市","type":"bar"}],"legend":["上海市"],"ontimeAndOvertimeWorkTask":{"ontimeNum":"3","overtimeNum":"27"},"errorNum":[{"data":["0","0","0","0","0"],"name":"上海市","type":"bar"}],"doneAndToDoWorkTask":{"todo":"18","done":"12"},"arrangeTask":{"todo":"0","done":"0"}}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * stationNum : [{"data":["0","0","0","0","0"],"name":"上海市","type":"bar"}]
         * avgTime : [{"data":["0","0","0","0","0"],"name":"上海市","type":"bar"}]
         * workTaskNum : [{"data":[0,0,0,0,0],"name":"上海市","type":"bar"}]
         * legend : ["上海市"]
         * ontimeAndOvertimeWorkTask : {"ontimeNum":"3","overtimeNum":"27"}
         * errorNum : [{"data":["0","0","0","0","0"],"name":"上海市","type":"bar"}]
         * doneAndToDoWorkTask : {"todo":"18","done":"12"}
         * arrangeTask : {"todo":"0","done":"0"}
         */

        private OntimeAndOvertimeWorkTaskBean ontimeAndOvertimeWorkTask;
        private DoneAndToDoWorkTaskBean doneAndToDoWorkTask;
        private ArrangeTaskBean         arrangeTask;
        private List<StationNumBean>    stationNum;
        private List<AvgTimeBean>       avgTime;
        private List<WorkTaskNumBean>   workTaskNum;
        private List<String>            legend;
        private List<ErrorNumBean>      errorNum;

        public OntimeAndOvertimeWorkTaskBean getOntimeAndOvertimeWorkTask() {
            return ontimeAndOvertimeWorkTask;
        }

        public void setOntimeAndOvertimeWorkTask(OntimeAndOvertimeWorkTaskBean ontimeAndOvertimeWorkTask) {
            this.ontimeAndOvertimeWorkTask = ontimeAndOvertimeWorkTask;
        }

        public DoneAndToDoWorkTaskBean getDoneAndToDoWorkTask() {
            return doneAndToDoWorkTask;
        }

        public void setDoneAndToDoWorkTask(DoneAndToDoWorkTaskBean doneAndToDoWorkTask) {
            this.doneAndToDoWorkTask = doneAndToDoWorkTask;
        }

        public ArrangeTaskBean getArrangeTask() {
            return arrangeTask;
        }

        public void setArrangeTask(ArrangeTaskBean arrangeTask) {
            this.arrangeTask = arrangeTask;
        }

        public List<StationNumBean> getStationNum() {
            return stationNum;
        }

        public void setStationNum(List<StationNumBean> stationNum) {
            this.stationNum = stationNum;
        }

        public List<AvgTimeBean> getAvgTime() {
            return avgTime;
        }

        public void setAvgTime(List<AvgTimeBean> avgTime) {
            this.avgTime = avgTime;
        }

        public List<WorkTaskNumBean> getWorkTaskNum() {
            return workTaskNum;
        }

        public void setWorkTaskNum(List<WorkTaskNumBean> workTaskNum) {
            this.workTaskNum = workTaskNum;
        }

        public List<String> getLegend() {
            return legend;
        }

        public void setLegend(List<String> legend) {
            this.legend = legend;
        }

        public List<ErrorNumBean> getErrorNum() {
            return errorNum;
        }

        public void setErrorNum(List<ErrorNumBean> errorNum) {
            this.errorNum = errorNum;
        }

        public static class OntimeAndOvertimeWorkTaskBean {
            /**
             * ontimeNum : 3
             * overtimeNum : 27
             */

            private String ontimeNum;
            private String overtimeNum;

            public String getOntimeNum() {
                return ontimeNum;
            }

            public void setOntimeNum(String ontimeNum) {
                this.ontimeNum = ontimeNum;
            }

            public String getOvertimeNum() {
                return overtimeNum;
            }

            public void setOvertimeNum(String overtimeNum) {
                this.overtimeNum = overtimeNum;
            }
        }

        public static class DoneAndToDoWorkTaskBean {
            /**
             * todo : 18
             * done : 12
             */

            private String todo;
            private String done;

            public String getTodo() {
                return todo;
            }

            public void setTodo(String todo) {
                this.todo = todo;
            }

            public String getDone() {
                return done;
            }

            public void setDone(String done) {
                this.done = done;
            }
        }

        public static class ArrangeTaskBean {
            /**
             * todo : 0
             * done : 0
             */

            private String todo;
            private String done;

            public String getTodo() {
                return todo;
            }

            public void setTodo(String todo) {
                this.todo = todo;
            }

            public String getDone() {
                return done;
            }

            public void setDone(String done) {
                this.done = done;
            }
        }

        public static class StationNumBean {
            /**
             * data : ["0","0","0","0","0"]
             * name : 上海市
             * type : bar
             */

            private String name;
            private String       type;
            private List<String> data;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public List<String> getData() {
                return data;
            }

            public void setData(List<String> data) {
                this.data = data;
            }
        }

        public static class AvgTimeBean {
            /**
             * data : ["0","0","0","0","0"]
             * name : 上海市
             * type : bar
             */

            private String name;
            private String       type;
            private List<String> data;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public List<String> getData() {
                return data;
            }

            public void setData(List<String> data) {
                this.data = data;
            }
        }

        public static class WorkTaskNumBean {
            /**
             * data : [0,0,0,0,0]
             * name : 上海市
             * type : bar
             */

            private String name;
            private String        type;
            private List<Integer> data;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public List<Integer> getData() {
                return data;
            }

            public void setData(List<Integer> data) {
                this.data = data;
            }
        }

        public static class ErrorNumBean {
            /**
             * data : ["0","0","0","0","0"]
             * name : 上海市
             * type : bar
             */

            private String name;
            private String       type;
            private List<String> data;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public List<String> getData() {
                return data;
            }

            public void setData(List<String> data) {
                this.data = data;
            }
        }
    }
}
